using System.Collections.Generic;
using System.ServiceModel.Syndication;

namespace OpenWaves.Syndication
{
    public class AggregatedSyndicationFeed
    {
        public AggregatedSyndicationFeed(IEnumerable<Url> feeds, IEnumerable<SyndicationItem> items, List<SyndicationFeedLoaderException> loaderErrors)
        {
            this.feeds = feeds;
            this.items = items;
            this.loaderErrors = loaderErrors;
        }

        private readonly IEnumerable<Url> feeds;
        public IEnumerable<Url> Feeds
        {
            get { return this.feeds; }
        }

        private readonly List<SyndicationFeedLoaderException> loaderErrors;
        public List<SyndicationFeedLoaderException> LoaderErrors
        {
            get { return this.loaderErrors; }
        }

        private readonly IEnumerable<SyndicationItem> items;
        public IEnumerable<SyndicationItem> Items
        {
            get { return this.items; }
        }
    }
}